package com.example.newproject_overseas.model.service

import com.example.newproject_overseas.model.Network
import com.example.newproject_overseas.model.entity.LoginRequestModel
import com.example.newproject_overseas.model.entity.LoginResponseModel
import retrofit2.http.Body
import retrofit2.http.POST

interface LoginService {

    @POST("gapy-areographer-sialon/argala-dilutedness-indissociably")
    suspend fun UserLogin(@Body request: LoginRequestModel): LoginResponseModel

    companion object{
        fun instance(): LoginService{
            return Network.createService(LoginService::class.java)
        }
    }
}